import {uploadService} from '@/utils/http-upload'

/**
 * Markdown文档图片上传
 * @returns {*}
 */
export const blogMdFileUpload = (param) => {
    const url = `/blog/blogInfoUpload`
    // const url = `/resource/resourceUpload`
    const config = { headers: { 'Content-Type': 'multipart/form-data' }}
    return uploadService.post(url, param, config)
}
